<ion-header>
  <ion-navbar>
    <ion-title>企业认证</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <div id="top">
    <img src="../../assets/imgs/contact/企业认证头部.png" style="width: 100%; height: 50%; position:absolute"/></div>
  <div id="toxiang">
    <img id="picture" src="../../assets/imgs/toxiang.png"/>
  </div>
  <div id="neirong">
    <div class="fk">
        <ul class="toto" style="margin: 0%;">
          <li>公司名称:&nbsp;&nbsp;&nbsp;&nbsp;<input class="text" type="text" [(ngModel)]="userInfo.companyname"name="companyname" size="25" placeholder="请输入公司名称"  autocomplete="off"value={{dataJson?.companyname}} ></li>
          <li>联&nbsp;&nbsp;系&nbsp;&nbsp;人:&nbsp;&nbsp;&nbsp;&nbsp;<input class="text" type="text" [(ngModel)]="userInfo.name"name="name" size="25" placeholder="请输入联系人"  autocomplete="off"value={{dataJson?.name}}></li>
          <li>公司座机:&nbsp;&nbsp;&nbsp;&nbsp;<input class="text" type="text" [(ngModel)]="userInfo.phone"name="phone" size="25" placeholder="请输入公司座机" autocomplete="off"value={{dataJson?.phone}}></li>
          <li>公司地址:&nbsp;&nbsp;<input class="text" type="text" [(ngModel)]="userInfo.companyprofile"name="companyprofile" size="25" placeholder="请输入公司地址"  autocomplete="off"value={{dataJson?.companyprofile}}></li>
          <li>社会信用代码:&nbsp;&nbsp;<input class="text" type="text" [(ngModel)]="userInfo.creditcode"name="creditcode" size="25" placeholder="请输入营业执照"autocomplete="off" style="width: 60%;"value={{dataJson?.creditcode}}></li>

          <li>上传照片: <a href="javascript:;" class="file">
            <!--<button ion-button style=" width: 31%;background-color: white;color: #000;border: 1px solid grey;"(click)="ss();" >拍照</button>-->
            <input type="file" accept="image/*" capture="camera" (change)="onChange($event)" >
            <img [src]="imgsrc" style="width: 100%;">
          </a>
          </li>

          <li><h5>公司简介:</h5></li>
          <li class="srk"><textarea  [(ngModel)]="userInfo.site"name="site" placeholder="请输入公司简介"value={{dataJson?.site}}></textarea></li>
        </ul>
        <div class="tj">
          <button id="submit" type="submit" value="提交" (click)="checkInfo();">提交</button>
        </div>
    </div>
  </div>

  <!--<div>-->
    <!--<a href="javascript:;" class="file">-->
      <!--<input type="file" accept="image/*" capture="camera" (change)="onChange($event)" >拍照-->
    <!--</a>-->
    <!--<ion-item>-->
      <!--<img [src]="imgsrc" style="width: 100%;">-->
    <!--</ion-item>-->
  <!--</div>-->









  <!---->
  <!--&lt;!&ndash;<div *ngFor="let data of dataJson">&ndash;&gt;-->
    <!--<div>{{dataJson?.companyname}}</div>-->

  <!--</div>-->
  <!---->


</ion-content>

